package com.lwj.mallchat.common.user.domain.vo.req.user;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author lwj
 * @ClassName ModifyNameReq
 * @date 2024/10/20 16:00
 */
@Data
public class ModifyNameReq {
    @ApiModelProperty("传入新的用户名")
    @NotBlank
    @Length(max = 6,message = "用户名超过6位")
    private String name;


}
